<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>a.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <script language="JavaScript">

  </script>
  
  <body>
	   <form name="form1" action="test.html" method="post" >
  	   	     客户id: <input type="text" name="cid" value=""  id="cid"  ><br>
		    客户名称<input type="text" name="cname" value=""  id="cname"  >
		  <input type="button" name="ok" value="请选择客户" onclick="openWin();"/>
  	   </form>
</body>
  <script type="text/javascript">
         function openWin(){
             window.open("a2.html","_blank","toolbar=no","status=no","fullscreen=yes");
         }

      //增加option元素
      function setValue(cid,cname){
          //创建option
            document.getElementById("cid").value=cid;
            document.getElementById("cname").value=cname;
          //
      }

  </script>
</html>
